package com.burstly.lib.currency;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public final class UserAccount
  implements Serializable
{
  private static final long serialVersionUID = -419743042787314398L;
  private transient String mCacheFilename;
  private final Map<String, UserCurrencyAccount> mCurrencyAccounts = new HashMap();
  private String mDeviceId;
  private String mPubId;
  private String mUserId;
  private boolean mUserIdDeviceIdBased;

  public Map<String, UserCurrencyAccount> getAllCurrencyAccounts()
  {
    return new HashMap(this.mCurrencyAccounts);
  }

  public String getCacheFilename()
  {
    return this.mCacheFilename;
  }

  public UserCurrencyAccount getCurrencyAccount(String paramString)
  {
    return (UserCurrencyAccount)this.mCurrencyAccounts.get(paramString);
  }

  public String getDeviceId()
  {
    return this.mDeviceId;
  }

  public String getPubId()
  {
    return this.mPubId;
  }

  public String getUserId()
  {
    return this.mUserId;
  }

  public boolean isNew()
  {
    return this.mCacheFilename == null;
  }

  public boolean isUserIdDeviceIdBased()
  {
    return this.mUserIdDeviceIdBased;
  }

  public void setCacheFilename(String paramString)
  {
    this.mCacheFilename = paramString;
  }

  public void setCurrencyAccount(String paramString, UserCurrencyAccount paramUserCurrencyAccount)
  {
    this.mCurrencyAccounts.put(paramString, paramUserCurrencyAccount);
  }

  public void setDeviceId(String paramString)
  {
    this.mDeviceId = paramString;
  }

  public void setPubId(String paramString)
  {
    this.mPubId = paramString;
  }

  public void setUserId(String paramString)
  {
    this.mUserId = paramString;
  }

  public void setUserIdDeviceIdBased(boolean paramBoolean)
  {
    this.mUserIdDeviceIdBased = paramBoolean;
  }

  public String toString()
  {
    return "UserAccount [mPubId=" + this.mPubId + ", mUserId=" + this.mUserId + ", mCurrencyAccounts=" + this.mCurrencyAccounts + "]";
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.burstly.lib.currency.UserAccount
 * JD-Core Version:    0.6.2
 */